package com.ruoyi.framework.web.service;

import java.util.List;

import com.ruoyi.project.museum.type.domain.ExhibitType;
import com.ruoyi.project.museum.type.service.IExhibitTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author summer
 */
@Service("exhibitType")
public class ExhibitTypeService
{
    @Autowired
    private IExhibitTypeService exhibitTypeService;

    public List<ExhibitType> getType()
    {
        return exhibitTypeService.selectExhibitTypeList(null);
    }

    public ExhibitType getType(Integer id) {
        return exhibitTypeService.selectExhibitTypeById(id);
    }

}
